Adding sounds to buttons

You can associate sounds with the different states of a button symbol. Because the sounds are stored with the symbol, they work for all instances of the symbol.

To add sounds to a button:

1 Select the button in the Library.
2 Choose Edit from the Symbol pop-up menu.
3 In the button's Timeline, add a sound layer.
4 In the sound layer, create one keyframe to correspond with each button state you want to have a sound.
For example, to add a sound that plays when the button is clicked, create a keyframe in the frame labeled Down.
5 Add a sound to the new keyframe and choose Event from the Synchronization pop-up menu.
To associate a different sound with each of the button's keyframes, use a different sound layer and sound file for each keyframe. You can also use the same sound file but create or use a different sound effect for each button frame.